__author__ = 'root'
#coding = gb1030
a = {'key1': 'value1',
     'key2': 'value2',
}


def dicetFun():
    maps = {
        'liwei': 'shanxi',
        'wangwan': 'shanxi',
        'xiaochengfei': 'wuhan',
        'chenjia': 'shanghai',
    }
    for key, value in maps.items():
        print key + ' come form ' + value


dicetFun()


def dicetNumber():
    numbers = {
        0: 'value1',
        1: 'value2',
        2: 'value3',
        5: 'value4',
        4: 'value5',
    }
    for key, value in numbers.items():
        print key

dicetNumber()

